home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / maximus / newproto.zip / PROTOCOL.CTL next >
Text File  |  1992-07-21  |  6KB  |  162 lines

  1. % ------------
  2. % PROTOCOL.CTL   ..a replacement to include various new protocols.
  3. % ------------
  4. %
  5. % This file is used to define external protocols usable with Max 2.1wb.
  6. %
  7. % Be SURE that the comment "Include Protocol.Ctl" is in the bottom of
  8. % your MAX.CTL file, or this file will NOT be processed when you re-Silt!
  9. %
  10. % If you're using a locked baud rate other than 38400, THESE PROTOCOL ENTRIES 
  11. % WILL NEED TO BE MODIFIED.  You should replace all "38400"'s in this file
  12. % with your locked baud rate (such as 19200 or 38400).
  13. % If you are _NOT_ running with locked baud rate, replace the "38400"'s 
  14. % with "%W"'s.  Failure to do so will not only cause these protocols to barf,
  15. % it'll make you look like a boob.
  16. %
  17. % Also, if you're running 4DOS (or any other alternate shell), you
  18. % should replace all occurences of "command.com" with the name of
  19. % your shell (such as 4dos.com).  Failure to do this may cause erratic
  20. % results when calling external protocols.
  21. %
  22. % NOTE!  You must create the following RDSZ.BAT in your Max directory
  23. % to ensure that DSZ (or GSZ.EXE renamed to "DSZ.EXE") handles transfers
  24. % correctly:
  25. %
  26. %       @echo off
  27. %       set dszlog=%1
  28. %       dsz port %2 speed %3 %4 %5 %6 %7 %8 %9
  29. %       set dszlog=
  30. %
  31. % Without this batch file, protocol logging will not be enabled.
  32. %
  33. % WARNING!  A registered copy of DSZ is required to properly handle
  34. % uploads.  Without a registered copy, uploads will be placed into
  35. % your \MAX directory!
  36.  
  37. % DSZ "Standard" Xmodem.  See the DSZ/GSZ Docs on how to turn on the 
  38. % OverThruster if desired.  I have not tested this feature on my system.
  39.  
  40. Protocol 2Xmodem/DSZ
  41. % ;       Type            Batch
  42. % ;       Type            Errorlevel
  43. % ;       Type            Bi
  44. % ;       Type            Opus
  45.  
  46.           LogFile         DSZ%K.Log
  47.           ControlFile     DSZ%K.Ctl
  48.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 sx %m
  49.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 rx %m
  50.           DownloadString  %s
  51.           UploadString
  52.           DownloadKeyword S
  53.           UploadKeyword   R
  54.           FilenameWord    10
  55.           DescriptWord    0
  56. End Protocol
  57.  
  58. Protocol 3Ymodem-G
  59.           Type            Batch
  60.           LogFile         DSZ%K.Log
  61.           ControlFile     DSZ%K.Ctl
  62.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha on sb -g @%x:DSZ%K.Ctl
  63.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha on rb -g %v
  64.           DownloadString  %s
  65.           UploadString
  66.           DownloadKeyword S
  67.           UploadKeyword   R
  68.           FilenameWord    10
  69.           DescriptWord    0
  70. End Protocol
  71.  
  72. % Zmodem-90 MobyTurbo protocol.  To use, place DSZ.EXE or DSZ.COM in your 
  73. % \MAX directory.
  74.  
  75. Protocol DSZ/MobyTurbo
  76.          Type            Batch
  77. %;       Type            Errorlevel
  78. %;       Type            Bi
  79. %;       Type            Opus
  80.  
  81.          LogFile         DSZ%K.Log
  82.          ControlFile     DSZ%K.Ctl
  83.          DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha both sz -m -Z @%x:DSZ%K.Ctl
  84.          UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha both rz %v
  85.          DownloadString  %s
  86.          UploadString
  87.          DownloadKeyword z
  88.          UploadKeyword   Z
  89.          FilenameWord    10
  90.          DescriptWord    0
  91. End Protocol
  92.  
  93. Protocol Zmodem
  94.           Type            Batch
  95. % ;       Type            Errorlevel
  96. % ;       Type            Bi
  97. % ;       Type            Opus
  98.  
  99.           LogFile         DSZ%K.Log
  100.           ControlFile     DSZ%K.Ctl
  101.           DownloadCmd     command.com /c rdsz DSZ%K.Log %P 38400 ha both sz -m -Z @%x:DSZ%K.Ctl
  102.           UploadCmd       command.com /c rdsz DSZ%K.Log %P 38400 ha both rz %v
  103.           DownloadString  %s
  104.           UploadString
  105.           DownloadKeyword z
  106.           UploadKeyword   Z
  107.           FilenameWord    10
  108.           DescriptWord    0
  109. End Protocol
  110.  
  111. % MPt protocol. (Formerly known as "Puma".)  To use, simply place MPT.EXE
  112. % in your \MAX directory.
  113.  
  114. Protocol MPt/Puma
  115.          Type            Batch
  116.  ;       Type            Errorlevel
  117.  ;       Type            Bi
  118.  ;       Type            Opus
  119.          LogFile         Mpt.Log
  120.          ControlFile     Mpt.Ctl
  121.          DownloadCmd     mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log s @mpt.ctl
  122.          UploadCmd       mpt A+ B- D+ F+ N+ P%P S0 M- W- HF Lmpt.log r %v
  123.          DownloadString  %s
  124.          UploadString
  125.          DownloadKeyword S
  126.          UploadKeyword   R
  127.          FilenameWord    10
  128.          DescriptWord    0
  129. End Protocol
  130.  
  131. % HS/Link, a fast bi-directional protocol.  If you are NOT using DesqView,
  132. % remove the "-I2" and "-NV" switches from both the Up and DownloadCmd lines.
  133. % Put the file HSLINK.EXE into your \Max directory.
  134.  
  135. Protocol HS/Link
  136.          Type            Batch
  137. %;       Type            Errorlevel
  138.          Type            Bi
  139. %;       Type            Opus
  140.  
  141.          LogFile         c:\max\HSK%K.log
  142.          ControlFile     c:\max\HSK%K.Ctl
  143.          DownloadCmd     command.com /c rhsl C:\Max\HSK%K.log -P%P -b38400 -I2 -NV -E%b -U%V @C:\Max\HSK%K.Ctl
  144.          UploadCmd       command.com /c rhsl C:\Max\HSK%K.Log -P%P -b38400 -I2 -NV -E%b -U%V
  145.          DownloadString  %s
  146.          UploadString
  147.          DownloadKeyword h
  148.          UploadKeyword   H
  149.          FilenameWord    10
  150.          DescriptWord    0
  151. End Protocol
  152.  
  153. %You will also need a batch file called RHSL.BAT in your MAX directory.
  154. %
  155. %  @echo off
  156. %  c:
  157. %  cd\max
  158. %  set dszlog=%1
  159. %  Hslink %2 %3 %4 %5 %6 %7 %8 %9
  160. %  set Dszlog=
  161.  
  162.